<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/template/template_dialog.xhtml">
	<ui:define name="head">
		<title>异常告警搜索</title>
		<link rel="stylesheet"
			href="#{request.contextPath}/resources/plugins/datatables/dataTables.bootstrap.css" />
		<link rel="stylesheet"
			href="/resources/bootstrap/css/bootstrap-datetimepicker.min.css" />
		<style>
</style>
	</ui:define>
	<ui:define name="content">
	      <nav class="navbar navbar-default">
			<div class="container-fluid">
					<div class="form-inline" style="padding:10px 15px">
						<label for="msgType" class="control-label">类型：</label> <select
							id="msgType" class="form-control"></select> <label
							for="stationName" class="control-label">厂站：</label> <input
							id="stationName" type="text" class="form-control"/> 
							<label for="startDate"
							class="control-label">日期：</label> <input type="text"
							class="form-control" id="startDate" style="width: 120px"/> 
							<span>至</span> <input type="text"
							class="form-control" id="endDate" style="width: 120px"
							placeholder="终止日期" /> 
						<button class="btn btn-default" onclick="beginSearch()">查询</button>
					</div>
			</div>
		</nav>
		 <!--  <a id="returnBtn" onclick="hideReturnBtn()" style="display:none;">返回</a> -->
		 <div id="noResult" style="text-align:center;display:none">没有找到要查询的结果</div>
		<div id="infoDiv">
		</div>
		<div class="box box-warning" id="detailDiv" style="display:none">
		   <div class="box-header with-border">
		      <h3 class="box-title">详细信息</h3>
		      <div class="box-tools pull-right">
				   <button type="button" class="btn btn-box-tool" onclick="hideReturnBtn()"><i class="fa fa-times"></i></button></div>
		      </div>
		   <div class="box-body">
		     <iframe id="detailPage" style="width:100%;height:600px" frameborder="0"></iframe>
		   </div>
		</div>
	</ui:define>
	<ui:define name="contentend">
		<script src="#{request.contextPath}/resources/js/tables/mytable.js"></script>
		<script
			src="#{request.contextPath}/resources/plugins/datatables/jquery.dataTables.min.js"></script>
		<script
			src="#{request.contextPath}/resources/plugins/datatables/dataTables.bootstrap.min.js"></script>
		<script
			src="#{request.contextPath}/resources/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script src="#{request.contextPath}/resources/js/calendarLocale.js"></script>
		<script src="searchAlarmMsgDlg.js"></script>
	</ui:define>
</ui:composition>
